\hypertarget{cmd__server_8h_source}{}\doxysection{cmd\+\_\+server.\+h}

\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{2 \textcolor{preprocessor}{\#include <errno.h>}}
\DoxyCodeLine{3 \textcolor{preprocessor}{\#include <stdlib.h>}}
\DoxyCodeLine{4 \textcolor{preprocessor}{\#include <unistd.h>}}
\DoxyCodeLine{5 \textcolor{preprocessor}{\#include <sys/socket.h>}}
\DoxyCodeLine{6 \textcolor{preprocessor}{\#include <sys/types.h>}}
\DoxyCodeLine{7 \textcolor{preprocessor}{\#include <sys/stat.h>}}
\DoxyCodeLine{8 \textcolor{preprocessor}{\#include <netinet/in.h>}}
\DoxyCodeLine{9 \textcolor{preprocessor}{\#include <arpa/inet.h>}}
\DoxyCodeLine{10 \textcolor{preprocessor}{\#include <dirent.h>}}
\DoxyCodeLine{11 \textcolor{preprocessor}{\#include <fcntl.h>}}
\DoxyCodeLine{12 \textcolor{preprocessor}{\#include "{}config.h"{}}}
\DoxyCodeLine{13 \textcolor{preprocessor}{\#include "{}ftp\_server.h"{}}}
\DoxyCodeLine{14 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__client_8c_ac29c297ae32acdb2172e926d5f144681}{show\_help}}();}
\DoxyCodeLine{15 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_a791b072f3c807a07d8f31f79234df324}{server\_list}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{16 \textcolor{comment}{//处理get和get操作，Msg要求同上。}}
\DoxyCodeLine{17 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_a85d6867e8cd03abe695768d9b067d57d}{server\_put}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{18 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_aa50384f65cd75709e683b2c7f08581c1}{server\_get}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{19 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_a338cb5462d42666ddab20076f7bd982f}{server\_mkd}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{20 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_a37c028d5fa7f16c48ecfb86321d4c846}{server\_rmd}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{21 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_acde9e10e0cad1c21935492f0a6d4045d}{server\_del}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{22 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_a64932a67c58d957e2482e0436b7c203c}{server\_cwd}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{23 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_a3430c69a06c184495cd28c57f4fe0f7e}{server\_pwd}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{24 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_a9020d28c81a4a7ab08d2acfb369844c7}{handle\_port}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}
\DoxyCodeLine{25 \textcolor{keywordtype}{void} \mbox{\hyperlink{cmd__server_8c_ac7ed6e7fa09e32bb518a19a70f5f5565}{handle\_pasv}}(\textcolor{keywordtype}{int} client\_sock, \mbox{\hyperlink{structMsg}{Msg}} *msg);}

\end{DoxyCode}
